import React,{Fragment} from 'react'
import '../../styles/home/Glass.css'
class GlassX extends React.Component{
    constructor(){
        super()
    }
    render(){
        let icon
        if(this.props.toglass){
            icon=(<div className='glass_box'>
                    <i className='iconfont icon-dengdai'></i>
             </div>)
        }else{
            icon=null
        }
        return (
            <Fragment>
                {icon}
            </Fragment>
        )
        
    }
}

export default GlassX